package sg.techstudio.suntec.main;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

public class Receive implements MessageListener {
	private static final Log log = LogFactory.getLog(Receive.class);
	
	@Override
	public void onMessage(Message m) {
		log.debug("Receive msg: "+new String(m.getBody()));
	}

}
